Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMN-799 Add scaffold for purpose-platformstate-writer #969

Merged
merged 435 commits into from
Oct 21, 2024

Conversation

shuyec
Copy link
Contributor

@shuyec shuyec commented Sep 13, 2024

Closes IMN-799
Merge after #956

This pull request is for adding the scaffold of the new purpose-platformstate-writer package.

@shuyec shuyec marked this pull request as ready for review October 4, 2024 12:21
Base automatically changed from IMN-522_client-assertion-validation to main October 4, 2024 15:33
} from "pagopa-interop-models";
import { config } from "./config/config.js";

export const writePlatformPurposeEntry = async (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there write, read and delete are almost identical to the ones here would it be beneficial to declare these as generics and move to commons?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving to commons is being planned, but I wouldn't turn those into functions with generics, because it doesn't seem a straightforward operation, considering the differences between those entries.

@shuyec shuyec requested a review from AsterITA October 21, 2024 13:01
@shuyec shuyec merged commit 97d0ccb into main Oct 21, 2024
44 checks passed
@shuyec shuyec deleted the IMN_799-purpose-platformstate-writer-scaffold branch October 21, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants